package com.mo.mapper;

import com.mo.domain.User;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @author msy
 * @date 2022/2/22
 */
@Repository
public interface UserMapper {

    User selectUserById(Long id);

    List<User> selectUserList(User user);

    Integer removeById(Long id);

    Integer updateUser(User user);

    Integer selectCount();

    Integer insertUser(User user);

    int save(List<User> list);
}
